#include "china.h"

China *China::pInstance = nullptr;

China::China()
{

}

China::~China()
{
    cout<<"China::~China"<<endl;
}

China *China::getInstance()
{
    if(pInstance==nullptr){
        pInstance = new China();
    }
    return pInstance;
}

void China::release()
{
    if(pInstance){
        delete pInstance;
        pInstance = nullptr;
    }
}

void China::printName()
{
    cout<<"China::printName"<<endl;
}
